﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011BD RID: 4541
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpaceZooCatUpdateNotify : IMessage<SpaceZooCatUpdateNotify>, IMessage, IEquatable<SpaceZooCatUpdateNotify>, IDeepCloneable<SpaceZooCatUpdateNotify>, IBufferMessage
	{
		// Token: 0x1700397B RID: 14715
		// (get) Token: 0x0600CB53 RID: 52051 RVA: 0x00224023 File Offset: 0x00222223
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpaceZooCatUpdateNotify> Parser
		{
			get
			{
				return SpaceZooCatUpdateNotify._parser;
			}
		}

		// Token: 0x1700397C RID: 14716
		// (get) Token: 0x0600CB54 RID: 52052 RVA: 0x0022402A File Offset: 0x0022222A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpaceZooCatUpdateNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700397D RID: 14717
		// (get) Token: 0x0600CB55 RID: 52053 RVA: 0x0022403C File Offset: 0x0022223C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpaceZooCatUpdateNotify.Descriptor;
			}
		}

		// Token: 0x0600CB56 RID: 52054 RVA: 0x00224043 File Offset: 0x00222243
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooCatUpdateNotify()
		{
		}

		// Token: 0x0600CB57 RID: 52055 RVA: 0x00224058 File Offset: 0x00222258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooCatUpdateNotify(SpaceZooCatUpdateNotify other) : this()
		{
			this.nGDNCDHDPEF_ = other.nGDNCDHDPEF_;
			this.jKENKDCHMKA_ = other.jKENKDCHMKA_.Clone();
			this.kIGHMKFOHEJ_ = other.kIGHMKFOHEJ_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CB58 RID: 52056 RVA: 0x002240A5 File Offset: 0x002222A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooCatUpdateNotify Clone()
		{
			return new SpaceZooCatUpdateNotify(this);
		}

		// Token: 0x1700397E RID: 14718
		// (get) Token: 0x0600CB59 RID: 52057 RVA: 0x002240AD File Offset: 0x002222AD
		// (set) Token: 0x0600CB5A RID: 52058 RVA: 0x002240B5 File Offset: 0x002222B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool NGDNCDHDPEF
		{
			get
			{
				return this.nGDNCDHDPEF_;
			}
			set
			{
				this.nGDNCDHDPEF_ = value;
			}
		}

		// Token: 0x1700397F RID: 14719
		// (get) Token: 0x0600CB5B RID: 52059 RVA: 0x002240BE File Offset: 0x002222BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PPBBLDEAFDG> JKENKDCHMKA
		{
			get
			{
				return this.jKENKDCHMKA_;
			}
		}

		// Token: 0x17003980 RID: 14720
		// (get) Token: 0x0600CB5C RID: 52060 RVA: 0x002240C6 File Offset: 0x002222C6
		// (set) Token: 0x0600CB5D RID: 52061 RVA: 0x002240CE File Offset: 0x002222CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KIGHMKFOHEJ
		{
			get
			{
				return this.kIGHMKFOHEJ_;
			}
			set
			{
				this.kIGHMKFOHEJ_ = value;
			}
		}

		// Token: 0x0600CB5E RID: 52062 RVA: 0x002240D7 File Offset: 0x002222D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpaceZooCatUpdateNotify);
		}

		// Token: 0x0600CB5F RID: 52063 RVA: 0x002240E8 File Offset: 0x002222E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpaceZooCatUpdateNotify other)
		{
			return other != null && (other == this || (this.NGDNCDHDPEF == other.NGDNCDHDPEF && this.jKENKDCHMKA_.Equals(other.jKENKDCHMKA_) && this.KIGHMKFOHEJ == other.KIGHMKFOHEJ && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CB60 RID: 52064 RVA: 0x00224148 File Offset: 0x00222348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NGDNCDHDPEF)
			{
				num ^= this.NGDNCDHDPEF.GetHashCode();
			}
			num ^= this.jKENKDCHMKA_.GetHashCode();
			if (this.KIGHMKFOHEJ)
			{
				num ^= this.KIGHMKFOHEJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CB61 RID: 52065 RVA: 0x002241AE File Offset: 0x002223AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CB62 RID: 52066 RVA: 0x002241B6 File Offset: 0x002223B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CB63 RID: 52067 RVA: 0x002241C0 File Offset: 0x002223C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NGDNCDHDPEF)
			{
				output.WriteRawTag(32);
				output.WriteBool(this.NGDNCDHDPEF);
			}
			if (this.KIGHMKFOHEJ)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.KIGHMKFOHEJ);
			}
			this.jKENKDCHMKA_.WriteTo(ref output, SpaceZooCatUpdateNotify._repeated_jKENKDCHMKA_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CB64 RID: 52068 RVA: 0x0022422C File Offset: 0x0022242C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NGDNCDHDPEF)
			{
				num += 2;
			}
			num += this.jKENKDCHMKA_.CalculateSize(SpaceZooCatUpdateNotify._repeated_jKENKDCHMKA_codec);
			if (this.KIGHMKFOHEJ)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CB65 RID: 52069 RVA: 0x00224280 File Offset: 0x00222480
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpaceZooCatUpdateNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NGDNCDHDPEF)
			{
				this.NGDNCDHDPEF = other.NGDNCDHDPEF;
			}
			this.jKENKDCHMKA_.Add(other.jKENKDCHMKA_);
			if (other.KIGHMKFOHEJ)
			{
				this.KIGHMKFOHEJ = other.KIGHMKFOHEJ;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CB66 RID: 52070 RVA: 0x002242E1 File Offset: 0x002224E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CB67 RID: 52071 RVA: 0x002242EC File Offset: 0x002224EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 64U)
					{
						if (num != 106U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.jKENKDCHMKA_.AddEntriesFrom(ref input, SpaceZooCatUpdateNotify._repeated_jKENKDCHMKA_codec);
						}
					}
					else
					{
						this.KIGHMKFOHEJ = input.ReadBool();
					}
				}
				else
				{
					this.NGDNCDHDPEF = input.ReadBool();
				}
			}
		}

		// Token: 0x0400519F RID: 20895
		private static readonly MessageParser<SpaceZooCatUpdateNotify> _parser = new MessageParser<SpaceZooCatUpdateNotify>(() => new SpaceZooCatUpdateNotify());

		// Token: 0x040051A0 RID: 20896
		private UnknownFieldSet _unknownFields;

		// Token: 0x040051A1 RID: 20897
		public const int NGDNCDHDPEFFieldNumber = 4;

		// Token: 0x040051A2 RID: 20898
		private bool nGDNCDHDPEF_;

		// Token: 0x040051A3 RID: 20899
		public const int JKENKDCHMKAFieldNumber = 13;

		// Token: 0x040051A4 RID: 20900
		private static readonly FieldCodec<PPBBLDEAFDG> _repeated_jKENKDCHMKA_codec = FieldCodec.ForMessage<PPBBLDEAFDG>(106U, PPBBLDEAFDG.Parser);

		// Token: 0x040051A5 RID: 20901
		private readonly RepeatedField<PPBBLDEAFDG> jKENKDCHMKA_ = new RepeatedField<PPBBLDEAFDG>();

		// Token: 0x040051A6 RID: 20902
		public const int KIGHMKFOHEJFieldNumber = 8;

		// Token: 0x040051A7 RID: 20903
		private bool kIGHMKFOHEJ_;
	}
}
